package com.heima.wemedia.mapper;

        import com.baomidou.mybatisplus.core.mapper.BaseMapper;
        import com.heima.model.wemedia.pojos.WmNewsMaterial;
        import org.apache.ibatis.annotations.Param;

        import java.util.List;

/**
 * <p>
 * 自媒体图文引用素材信息表 Mapper 接口
 * </p>
 *
 * @author heima
 * @since 2021-08-06
 */
public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {

    void saveNewsMaterials(@Param("materialIds") List<Integer> materialIds, @Param("id") Integer id,@Param("type") int type);
}
